// samsting : this file is auto create.

#include "OtsShihua/2015-10-26/ListInstanceResponse.h"

namespace aliyun { namespace OtsShihua {

ListInstanceResponse::ListInstanceResponse() {
}

const string& ListInstanceResponse::InstanceInfo::GetInstanceName(void) const {
  return InstanceName_;
}

const string& ListInstanceResponse::InstanceInfo::GetTimestamp(void) const {
  return Timestamp_;
}

const std::vector<ListInstanceResponse::InstanceInfo>& ListInstanceResponse::GetInstanceInfos(void) const {
  return InstanceInfos_;
}

const char* ListInstanceResponse::BaseKey(void) {
  return "ListInstanceResponse";
}

void ListInstanceResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int InstanceInfos__length = 0;
  UnmarshallerInt(InstanceInfos__length, response_map, "ListInstanceResponse.InstanceInfos.Length");
  if(InstanceInfos__length >= 0) {
    InstanceInfos_.resize(InstanceInfos__length);
    for(int i1 = 0; i1 < InstanceInfos__length; i1++) {
      UnmarshallerString(InstanceInfos_[i1].InstanceName_, response_map, "ListInstanceResponse.InstanceInfos["+string_ValueOfInt(i1)+"].InstanceName");
      UnmarshallerString(InstanceInfos_[i1].Timestamp_, response_map, "ListInstanceResponse.InstanceInfos["+string_ValueOfInt(i1)+"].Timestamp");
    } // for(int i1 = 0; i1 < InstanceInfos__length; i1++) {
  } // if(InstanceInfos__length >= 0) {

}


} } // namespace aliyun { namespace OtsShihua {

// end of file 
